package com.ruoyi.fees.service.impl;

import java.util.List;

import com.ruoyi.fees.domain.HouseFeesT;
import com.ruoyi.fees.mapper.HouseFeesTMapper;
import com.ruoyi.fees.service.IHouseFeesTService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 收费标准Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-01-09
 */
@Service
public class HouseFeesTServiceImpl implements IHouseFeesTService
{
    @Autowired
    private HouseFeesTMapper houseFeesTMapper;

    /**
     * 查询收费标准
     * 
     * @param feesId 收费标准主键
     * @return 收费标准
     */
    @Override
    public HouseFeesT selectHouseFeesTByFeesId(Long feesId)
    {
        return houseFeesTMapper.selectHouseFeesTByFeesId(feesId);
    }

    /**
     * 查询收费标准列表
     *
     * @param houseFeesT 收费标准
     * @return 收费标准
     */
    @Override
    public List<HouseFeesT> selectHouseFeesTList(HouseFeesT houseFeesT)
    {
        return houseFeesTMapper.selectHouseFeesTList(houseFeesT);
    }

    /**
     * 新增收费标准
     *
     * @param houseFeesT 收费标准
     * @return 结果
     */
    @Override
    public int insertHouseFeesT(HouseFeesT houseFeesT)
    {
        return houseFeesTMapper.insertHouseFeesT(houseFeesT);
    }

    /**
     * 修改收费标准
     * 
     * @param houseFeesT 收费标准
     * @return 结果
     */
    @Override
    public int updateHouseFeesT(HouseFeesT houseFeesT)
    {
        return houseFeesTMapper.updateHouseFeesT(houseFeesT);
    }

    /**
     * 批量删除收费标准
     *
     * @param feesIds 需要删除的收费标准主键
     * @return 结果
     */
    @Override
    public int deleteHouseFeesTByFeesIds(Long[] feesIds)
    {
        return houseFeesTMapper.deleteHouseFeesTByFeesIds(feesIds);
    }

    /**
     * 删除收费标准信息
     *
     * @param feesId 收费标准主键
     * @return 结果
     */
    @Override
    public int deleteHouseFeesTByFeesId(Long feesId)
    {
        return houseFeesTMapper.deleteHouseFeesTByFeesId(feesId);
    }
}
